package golf.stockdata.framework.dataobject;

import java.io.Serializable;
import java.util.ArrayList;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "filter")
public class Filter implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -1052193039000027814L;
	
	private String beanName;
	private String className;
	private ArrayList<InitParam> initParams = new ArrayList<InitParam>();

	@XmlAttribute(name="bean")
	public String getBeanName() {
		return beanName;
	}
	public void setBeanName(String beanName) {
		this.beanName = beanName;
	}
	
	@XmlAttribute(name="class")
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	
	@XmlElement(name="init-param")
	public ArrayList<InitParam> getInitParams() {
		return initParams;
	}
	public void setInitParams(ArrayList<InitParam> initParams) {
		this.initParams = initParams;
	}

}
